/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WriteStateEnum extends StringEnum
{
    public static final String ALL_VALUE = "0";
    public static final String ISWRITTENOFF_VALUE = "1";
    public static final String NOWRITTENOFF_VALUE = "2";

    public static final WriteStateEnum ALL = new WriteStateEnum("ALL", ALL_VALUE);
    public static final WriteStateEnum ISWRITTENOFF = new WriteStateEnum("ISWRITTENOFF", ISWRITTENOFF_VALUE);
    public static final WriteStateEnum NOWRITTENOFF = new WriteStateEnum("NOWRITTENOFF", NOWRITTENOFF_VALUE);

    /**
     * construct function
     * @param String writeStateEnum
     */
    private WriteStateEnum(String name, String writeStateEnum)
    {
        super(name, writeStateEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WriteStateEnum getEnum(String writeStateEnum)
    {
        return (WriteStateEnum)getEnum(WriteStateEnum.class, writeStateEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WriteStateEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WriteStateEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WriteStateEnum.class);
    }
}